<template>
  <div>
   V-modelPage
   <hr>
   {{ a }} {{ b }}
   <MyButton v-model="a" v-model:text2="b"></MyButton>
   <input type="text" :value="a" @input="change">

  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import MyButton from '@/components/MyButton.vue';
let a=ref("xdt")
let b=ref("lw")

function change(e){
// console.log(e);
a.value=e.target.value
}
</script>
<style lang="scss" scoped>
</style>
